﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web;
using System.Web.UI;
using System.ComponentModel;
using System.Collections.Specialized;
using System.IO;

namespace WinnerCMS.WebControls.BootStrap
{
    public class CheckBox : System.Web.UI.WebControls.CheckBox
    {
        protected override void Render(HtmlTextWriter writer)
        {
            StringBuilder winner = new StringBuilder("<div class=\"icheckboxStyle\">");
            using (TextWriter tempWriter = new StringWriter())
            {
                base.Render(new HtmlTextWriter(tempWriter));
                winner.Append(tempWriter.ToString());
            }
            winner.Append("</div>");
            writer.Write(winner.ToString());
        }
    }

    public class CheckBoxDesigner
    {
    }
}
